<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="css/select.css" rel="stylesheet" type="text/css">
<title>查询页面</title>
</head>
<body>
<div class="header">
    <h1 class="logo"><a href="#">通讯录</a></h1>
    <ul class="register">
        <li><form action="${pageContext.request.contextPath}/Select.action" method="post">
            <input type="text" class="input_search" name="input_search" placeholder="请输入姓名或手机号">
            <input type="submit" value="搜索" class="search_submit">
        </form></li>
        <li>当前用户</li>
        <li>${sessionScope.username}</li>
        <li><a href="${pageContext.request.contextPath}/LoginoutAction.action">退出</a></li>
    </ul>
</div>
<div class="content">
    <div class="content_in">
        <div class="content_left">

            <div class="content_list">
                <ul>
                    <li class="list_title">
                        <div class="list_name">联系人</div>
                        <div class="list_phone">号码</div>
                        <div class="list_email">邮箱</div>
                        <div class="list_address">地址</div>
                        <div class="list_relation">关系</div>
                        <div class="list_company">公司</div>
                    </li>
                </ul>
                <c:forEach items="${list}" var="list">
                    <ul>
                        <li class="list_title">
                        	<input type="hidden" name="id" class="al_id" value="${list.id }">
                            <div class="list_name">${list.name }</div>
                            <div class="list_phone">${list.phone }</div>
                            <div class="list_email">${list.e_mail }</div>
                            <div class="list_address">${list.address }</div>
                            <div class="list_relation">${list.relation }</div>
                            <div class="list_company">${list.company }</div>
                        </li>
                    </ul>
                </c:forEach>
            </div>

        </div>
        <div class="content_right">
            <%-- <div class="content_detail">
                <div class="content_img"><img src="upload/${sessionScope.al.image}" height="200px" width="200px"></div>
            </div> --%>
        </div>
    </div>
</div>
<div class="mask_bg"></div>
<div class="mask"></div>
</body>
</html>